(function(){"use strict";BX.namespace("BX.Landing.History.Action");var e=BX.Landing.Utils.scrollTo;var n=BX.Landing.Utils.highlight;BX.Landing.History.Action.editEmbed=function(t,r){return BX.Landing.PageObject.getInstance().blocks().then(function(i){var o=i.get(r.block);if(!o){return Promise.reject()}o.forceInit();var c=o.nodes.getBySelector(r.selector);if(!c){return Promise.reject()}return e(c.node).then(n.bind(null,c.node,true)).then(function(){return c.setValue(r[t],false,true)})})}})();